package com.changan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    /**
     * 获取用户信息
     * @return
     */
    @RequestMapping("/getUsers")
    public String getUsers(){
        //数组越界
        //int[] arr = {1,2,3,4};
        //System.out.println(arr[4]);
        //String a = null;
        //System.out.println(a.length());
        int i = 1/0;
        return "success";
    }
}
